home *** CD-ROM | disk | FTP | other *** search
/ Fritz: All Fritz / All Fritz.zip / All Fritz / FILES / WORDMISC / KDGRAF.LZH / KDCG.DOC < prev    next >
Text File  |  1989-04-17  |  11KB  |  249 lines

  1.  
  2.  
  3.                               KDCG
  4.              KDCalc Graphic Version 1.1  -  April 1989
  5.                A Product of KD Ranch Enterprises (c)
  6.  
  7.  
  8. GENERAL:
  9.  
  10.     KDCG is an EGA/VGA graphic implementation of a hand-held calculator.
  11.     It will add, subtract, multiply and divide. It uses an on-screen tape,
  12.     capability to list the tape on a printer and features a nine memory
  13.     register sub-function for storage and recall. It was written using
  14.     Turbo Pascal 5.0. KDCG will not run on a CGA system.
  15.  
  16.  
  17. HISTORY:
  18.  
  19.     Version 1.0  - Initital Release (January 1989).
  20.     Version 1.1  - Implemented "Tape Scrolling" sub-function (April 1989).
  21.  
  22.  
  23. COMMAND SYNTAX: KDCG [d][e]
  24.  
  25.     By default KDCG will start in "Float Mode".  If you prefer
  26.     "Dollar Mode" use the d parameter -- see FUNCTIONS for
  27.     explanation of these modes. This mode can be changed from
  28.     inside the calculator.
  29.  
  30.     Also, by default, KDCG will detect your display capability
  31.     (either EGA or VGA) and initialize in that mode.  If you have
  32.     VGA, but prefer to use KDCG in EGA mode, then use an e
  33.     parameter.  Sorry, you can't get VGA on an EGA system.
  34.     This mode CANNOT be changed once inside the calculator.
  35.  
  36.     If you use two parameters they must be separated by a space
  37.     (e.g. KDCG d e).
  38.  
  39.  
  40. USAGE:
  41.  
  42.     As I said, the calculator emulates a hand-held version.
  43.     Calculations are entered and performed just like you would
  44.     say them:
  45.  
  46.        You would say,
  47.          "6 plus 5 minus 13 times 4 divided by 2 equals".
  48.        You would enter,
  49.           6 + 5 - 13 * 4 / 2 =    (NOTE: "=" is the ENTER key)
  50.  
  51.     Actually, if you don't know how a cheap hand-held calculator
  52.     works, you probably don't need this program.
  53.  
  54.     The KeyPad shown on the graphic is from an Enhanced keyboard.
  55.     Other keyboards will work the same, only the location of some
  56.     keys may be different.
  57.  
  58.     KDCG will automatically turn your NumLock and CapsLock on and
  59.     return them to their original state when you exit the program.
  60.     LEAVE THESE KEYS ON WHILE OPERATING THE CALCULATOR.  If for some
  61.     strange reason they are not automatically activated, please turn
  62.     them on.
  63.  
  64.  
  65. FUNCTIONS:
  66.  
  67.     The screen displays all keys that are active with a short
  68.     description of what they do.  Hopefully, most are self
  69.     explanatory and if not, a try or two should suffice.  I
  70.     don't plan to explain the white keys from the keypad or
  71.     the specific application of the * / + keys, however
  72.     the following is offered:
  73.  
  74.     Operator Keys: 
  75.        Operator keys cause the calculator to PERFORM AN OPERATION
  76.        affecting the results shown in the display window and/or
  77.        the screen listing.
  78.  
  79.        The keys are: +,*,/,=(ENTER),S and sometimes - and R.
  80.        Also, while they are not strictly "operators", O and C
  81.        will have some similar effects.  You might note that the
  82.        current mathematical operator (+,*,/,-) is always hilighted
  83.        on the keypad display. + is the default operator.
  84.  
  85.     Minus Key (-):
  86.        The minus key has two functions depending on when it is
  87.        hit.  If used directly after any operator, it simply
  88.        becomes part of the next number entered, making it a
  89.        negative number.  Otherwise, it is an operator representing
  90.        the subtraction function.  
  91.  
  92.     Equal Key (= or ENTER):
  93.        Your display will always show the current running total
  94.        after hitting an operator key.  The Equal key will clear
  95.        the display and the running total, setting the current
  96.        total to 0.  Remember, the Equal key is also an operator.
  97.  
  98.     Dollar/Float Toggle (D):
  99.        Toggles between Dollar Mode and Float Mode. Dollar mode
  100.        always assumes 2 decimals -- particularly useful to do
  101.        checkbooks and stuff. In Dollar Mode the decimal key is 
  102.        disabled. If you hit 123 the display will read 1.23.  Be
  103.        careful of multiply and divide in Dollar Mode (keystrokes
  104.        "123 * 2" will result in 1.23 * .02 -- that result is NOT
  105.        246 -- it will be 0.02). I recommend using Float mode to
  106.        multiply or divide.  Float mode allows you to place the
  107.        decimal and results will be rounded to the maximum capacity
  108.        of the calculator -- which is pretty darn big.
  109.  
  110.     Printer Toggle (P):
  111.        Toggles printer on and off.  Obviously this assumes you have
  112.        a printer and would like a tape of your activity.  Most line
  113.        feed type printers should work (don't use a laser).  There is
  114.        an error message built in if your printer is not ready to
  115.        print, but I have found that checking the availability of a
  116.        printer is not always reliable (funny switch settings, certain
  117.        ram and external buffers, etc.).  You'll just have to try it.
  118.  
  119.     Subtotal (S):
  120.        Subtotal does pretty much what you expect. It lists the current
  121.        running total without clearing it.
  122.  
  123.     Tape Scroller (T): [***** New to release 1.1 *****]
  124.        Executes a sub-function allowing you to scroll through the tape
  125.        listing that has "scrolled off the screen". It is limited to 500
  126.        previous entries.  The tape scroll buffer is cleared at startup
  127.        and whenever "Over" (see below) is executed.
  128.  
  129.     Clear (C) and Backspace (<-):
  130.        Clear DOES NOT  clear the running total.  Its only
  131.        function is to remove all numbers that you have entered
  132.        in prior to hitting an operator key.  Backspace removes
  133.        one number at a time. Hitting the Backspace key an
  134.        appropriate number of times will produce the same results
  135.        as Clear.
  136.  
  137.     Over (O):
  138.        Over is just a quick way to remove the screen listing and reset
  139.        the calculator.  It will also set the printer toggle off and clear.
  140.        the tape scroller buffer.  Dollar/Float toggle and the Memory
  141.        registers will not be affected.
  142.  
  143.     Quit (Q):
  144.        You guessed it - EXIT.  There is NO WARNING like "are you sure?".
  145.        This isn't like a spreadsheet that you may have worked on for hours.
  146.        I figure that if your done, your done!
  147.  
  148.     Memory Storage (M):
  149.        Memory will "grab" the current running total and execute a sub-
  150.        function allowing you to do a lot of things with the 9 memory
  151.        registers. It will only function after an operator has executed.
  152.  
  153.             [You should remember that if you have hit the Equal
  154.              key (ENTER) the current running total is 0.  There
  155.              is not a lot you can do with 0.  So use M after +,/,
  156.              *,S and sometimes -, C or R.]
  157.  
  158.        Upon execution, a new window will pop up displaying the "grabbed"
  159.        total and asking you which memory register you want to work with.
  160.        Select 1 - 9 (or 0 to just return to the calculator).
  161.  
  162.        Assuming you choose 1 - 9, the current value of that register will
  163.        be shown and a series of options listed.  Select the option you
  164.        want. The result will be transferred to the selected register and
  165.        a summary of what has happened will be displayed for you.  At that
  166.        point, just hit any key to return to the calculator.  The stored
  167.        value can simply be used to verify another calculation, called again
  168.        and used in this sub-function, or Recalled into the calculator as
  169.        explained below.  
  170.  
  171.     Recall Memory (R):
  172.        Recall will "grab" a stored memory value and transfer it to the
  173.        calculator based on the operation set by the current operator.  
  174.        It will only work after an operator has been issued and will have
  175.        no affect if the selected memory register value is 0.
  176.  
  177.        Upon execution, a new window will pop up asking you which memory
  178.        register value to transfer.  The window will also show you the
  179.        current "inherent total" (running total of the calculator) and an
  180.        indication of what you are about to do to that "inherent total"
  181.        based on the current mathematical operator.  This indication is
  182.        significant because once you choose a register, the rest is 
  183.        automatic.
  184.  
  185.        This may sound complicated, and I guess it is (a little), but after
  186.        you try it a few times it should be clear.  The main thing to 
  187.        remember is that not only will a value be transferred, but the current
  188.        operator will also be issued.  This is intentional for the sake of
  189.        speed.  It saves a lot of keystrokes.  You can get the same results
  190.        by issuing an operator, keying the number you want by looking at
  191.        the memory register and then issuing another operator.
  192.  
  193.  
  194. REQUISITE DISCLAIMER and OTHER STUFF:
  195.  
  196.        Every reasonable attempt has been made to offer a fun product that
  197.        may be of some use and be "bug" free.  I (the author) can, however,  
  198.        offer no guarantees as to the suitability or use of this program.
  199.        Therefore (here we go)...
  200.  
  201.                THIS PRODUCT IS PROVIDED "AS IS" AND
  202.                WITHOUT WARRANTIES EXPRESS OR IMPLIED.
  203.                THE USER ASSUMES ALL RISK ASSOCIATED
  204.                WITH THE USE OF THIS PROGRAM.                          
  205.  
  206.        You may copy and distribute this program freely.  Please don't
  207.        charge for it and please provide this DOC file with it.
  208.  
  209.        Anyone who is interested, can send the author (me) $5.00 or so.
  210.             (Mainly, I'm curious to see if anyone is interested!)
  211.  
  212.                                                 David A. Befort
  213.                                                 KD Ranch Enterprises (c)
  214.                                                 Rt.3, Box 8080
  215.                                                 Bartlesville, Ok. 74003
  216.  
  217.  
  218.  
  219. P.S.   While I'm not a programmer by profession, I have written a few
  220.        other things -- usually because I can't find or buy precisely
  221.        what I'm looking for. You may see some of these floating around.
  222.  
  223.        [All of my programs begin with KD -- logo bottom left of KDCG].
  224.  
  225.             KDQwik  - a small, easy word processor. Extremely straight
  226.                       forward for a beginner or an executive, yet with
  227.                       a few twists (like real-time sort) for the more
  228.                       aggressive.
  229.  
  230.             KDGraph - a pull-down menu driven graphics package for EGA/VGA.
  231.                       It's fast and does some 3D stuff along with your basic
  232.                       bars,lines and pies.
  233.  
  234.             KDCalc  - a non-graphics version of KDCG.  Has a few more
  235.                       functions and can be made memory resident for
  236.                       pop-up capability.
  237.  
  238.             KDLogic - a set of 5 brain teaser logic puzzles (HiQ,Minefield,
  239.                       Mastermind,Fifteen Squares and Towers). Program can
  240.                       made memory resident for quick pop up and down.
  241.  
  242.             KDPoker - There are a lot of good blackjack games, but I couldn't
  243.                       find a good, true rendition of the Draw Poker machines
  244.                       that are now extremely popular in Las Vegas, Reno, etc.
  245.                       Two commercial versions I bought were awful.  This plays
  246.                       pretty much like the real thing.
  247.  
  248.  
  249.